package com.fss.secondHand.service;

import java.util.List;

import com.fssDataModels.TbSecondhandItem;


public interface SecondHandService {

	//return: - 0 --> failed
	//		  - 1 --> success
	public int addSecondHandItem(TbSecondhandItem item);
	
	//return: - 0 --> failed
	//		  - 1 --> success
	public int editSecondHandItem(TbSecondhandItem item);
	
	//function: deleteActivity
	//return: - 0 --> not deleted
	//		  - 1 --> deleted
	public int deleteSecondHandItem(TbSecondhandItem item);
	
	public TbSecondhandItem getSecondHandItem(int itemId);
	
	public List<TbSecondhandItem> getSecondHandItemList();
	
}
